Socket
Socket
Sign inDemoInstall

markdown-it-mark

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-it-mark

<mark> tag for markdown-it markdown parser.


Version published
Weekly downloads
194K
increased by1.89%
Maintainers
1
Weekly downloads
 
Created

What is markdown-it-mark?

The markdown-it-mark package is a plugin for the markdown-it Markdown parser that allows you to add support for the <mark> HTML tag, which is used to highlight text.

What are markdown-it-mark's main functionalities?

Highlight Text

This feature allows you to highlight text in your Markdown content by wrapping the text with double equal signs (==). The plugin converts this syntax into the <mark> HTML tag.

const md = require('markdown-it')().use(require('markdown-it-mark'));
const result = md.render('==highlighted text==');
console.log(result); // Outputs: <p><mark>highlighted text</mark></p>

Other packages similar to markdown-it-mark

Keywords

FAQs

Package last updated on 20 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc